package com.pro.springbootshop.entityExtend;

import com.pro.springbootshop.entity.Buyer;
import lombok.Data;

import java.util.List;

@Data
public class BuyerReturn {
    private List<Buyer> buyerList;
    private int total;

    public BuyerReturn(List<Buyer> buyerList, int total) {
        this.buyerList = buyerList;
        this.total = total;
    }
}
